		<div id="center-column">
			<div class="top-bar">
				<a href="<?php echo  base_url();?>administrator/complete_add" class="button">新增</a>
				<h1>Contents</h1>
				<div class="breadcrumbs"><?php echo anchor('main/index','首页');?> /<?php echo anchor('administrator/complete_add','添加套别资料');?></div>
			</div>
			
		  <div class="table add_table">
				
				
				<table class="listing form" cellpadding="0" cellspacing="0">
				  <?php if(isset($id)){echo form_open('administrator/complete_edit/'.$id);}else{echo form_open('administrator/complete_add');}?>
					<tr>
						<th class="full" colspan="2">新增成套资料</th>
					</tr>
					<tr>
						<td class="first""><strong>套别名称：</strong></td>
						<td class="last"><?php echo $complete->name;?></td>
					</tr>
					<tr>
						<td class="first""><strong>资料型号：</strong></td>
						<td class="last"><?php echo $mod[0]->name;?></td>
					</tr>
					<tr>
						<td class="first" width="172"><strong>资料类别：</strong></td>
						<td class="last"><?php $ids=explode(',',$complete->category_ids); foreach($category as $k=>$val):foreach($ids as $j=>$m){ if($m==$val->category_id){echo $val->name;}}?>
						                   <?php endforeach;?></td>
					</tr>

					
					<tr>
						<td colspan="2"><?php echo anchor('administrator/complete','返回列表');?>&nbsp;&nbsp;|&nbsp;&nbsp;<?php echo anchor('administrator/complete_edit/'.$complete->complete_id,'修改');?></td>			
					</tr>
				</form>	
				</table>
	        <p>&nbsp;</p>
		  </div>
		</div>
	</div>
	<div id="footer"></div>
</div>



</body>
</html>
